<%@ page language="java" contentType="text/html; charset=US-ASCII"
	pageEncoding="US-ASCII"%>
<%@ page import="java.util.*,Model.*"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Remove Staff</title>
</head>
<body>
	<jsp:include page="t_header.jsp" />
	<!-- Declare sidebar -->
	<jsp:include page="header.html" />
	<jsp:include page="t_sidebar.jsp" />
	<!--  Main Content -->
	<section id="main" class="column">
		<article class="module width_full" style="border: 1px solid #fafafa;">
		<h2 class="blueprocessh1">Staff Who Left</h2>
			<form id="removeStaff" action="RemoveStaff" method="POST">
			
				<table class="tablesorter tableproccess">
					<thead>
						<tr class="proccessth">
							<th style="width: 23%">Name</th>
							<th style="width: 43%">Email</th>
						</tr>
					</thead>
					<tbody>
						<%
							ArrayList<Staff> staffLeftList = new ArrayList<Staff>();
							staffLeftList = Staff.getStaffOfStatus("Left");
							for (Staff staff : staffLeftList) {
						%>
						<tr class="oddproccesstr">
							<td><%=staff.getName()%></td>
							<td><%=staff.getEmail()%></td>
							<%
								}
							%>
						</tr>
						<tr>
							<td><input type="submit" name="sBtn" value="Remove Staffs" /></td>
						</tr>
					</tbody>
				</table>
			</form>
		</article>
	</section>
</body>
</html>